package com.ruoyi.dictionary.mapper;

import com.ruoyi.dictionary.domain.RicePests;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author DELL
 */
@Repository
@Mapper
public interface RicePestsMapper {

    /**
     * 水稻害虫信息库
     * @param
     * @return 水稻害虫信息库集合
     */
    public List<RicePests> selectRicePestsList(RicePests ricePests);


     /**
     * 新增材种图文库
     * @param ricePests
     * @return
     */
    public int insertRicePests(RicePests ricePests);

    /**
     * 删除水稻害虫图文库信息
     * @param ricePestsId
     * @return
     */
    public int deleteRicePestsByIds(Long[] ricePestsId);

    /**
     * 修改水稻害虫图文库信息
     * @param ricePests
     * @return
     */
    public int updateRicePests(RicePests ricePests);

}
